﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_ShopLayout.cshtml";
}
@using MvcMall.Portal.Controllers.Shop.ViewModels;
@using MvcMall.Portal.Controllers.Extensions;
<div class="shop_right">
    <!--店铺公告开始-->
    <div class="shop_note_box">
        <div class="shop_note_title">
        </div>
        <div class="shop_not_text">
            @MvcHtmlString.Create(ViewData["StoreIntro"] == null ? string.Empty : ViewData["StoreIntro"].ToString())
        </div>
    </div>
    <!--店铺公告结束-->
    <!--推荐商品开始-->
    <div class="shop_box_title">
        <span class="more">@Html.ActionLink("更多>>", "GoodsSearch", "Shop", new { @StoreId = ViewBag.StoreId, @isPromoted = "true" }, null)</span>推荐商品</div>
    <div class="shop_box">
        @foreach (var item in ViewData["promotedList"] as List<GoodsTableModel>)
        {
            @Html.StandardGoodsInfo(item)
        }
    </div>
    <div class="tagDiv">
    </div>
    <!--推荐商品结束-->
    <!--热卖商品开始-->
    <div class="shop_box_title">
        <span class="more">@Html.ActionLink("更多>>", "GoodsSearch", "Shop", new { @StoreId = ViewBag.StoreId }, null)</span>热卖商品</div>
    <div class="shop_box">
        @foreach (var item in ViewData["HotList"] as List<GoodsTableModel>)
        {
            @Html.StandardGoodsInfo(item)
        }
    </div>
    <div class="tagDiv">
    </div>
    <!--热卖商品结束-->
    @Html.Partial("_HowBuyTag")
    <div class="tagDiv">
    </div>
</div>
